dovecot.git
11 days ago[PATCH] lib-regex: Do not use data stack for replacement string
Aki Tuomi [Mon, 26 Jan 2026 07:47:16 +0000 (09:47 +0200)]
[PATCH] lib-regex: Do not use data stack for replacement string

It will get lost when the data stack frame is dropped at the end,
so use heap memory instead.

Gbp-Pq: Name lib-regex-Do-not-use-data-stack-for-replacement-stri.patch

11 days ago[PATCH] lib-regex: Limit number of capture groups correctly
Aki Tuomi [Mon, 22 Dec 2025 20:01:18 +0000 (22:01 +0200)]
[PATCH] lib-regex: Limit number of capture groups correctly

We create at maximum max_capture_groups match groups.

Gbp-Pq: Name lib-regex_Limit_number_of_capture_groups_correctly.patch

11 days ago[PATCH] lib-regex: Set DREGEX_MAX_MATCHES to library default
Aki Tuomi [Mon, 22 Dec 2025 09:05:31 +0000 (11:05 +0200)]
[PATCH] lib-regex: Set DREGEX_MAX_MATCHES to library default

Gbp-Pq: Name lib-regex_Set_DREGEX_MAX_MATCHES_to_library_default.patch

11 days ago[PATCH] lib-regex: Separate maximum capture groups and match limit
Aki Tuomi [Mon, 22 Dec 2025 09:04:16 +0000 (11:04 +0200)]
[PATCH] lib-regex: Separate maximum capture groups and match limit

These are not related.

Gbp-Pq: Name lib-regex_Separate_maximum_capture_groups_and_match_limit.patch

11 days ago[PATCH] Correctly handle signed 32-bit time_t types
Noah Meyerhans [Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)]
[PATCH] Correctly handle signed 32-bit time_t types

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124541
Forwarded: no

dovecot handles 32-bit time_t in a couple of different ways, but neither quite
works currently.  Setting TIME_T_MAX_BITS to 31 isn't correctly handled in
places where time_t values are constructed, for example in
io_loop_get_wait_time().

Similarly, setting TIME_T_MAX_BITS = 32 and defining TIME_T_SIGNED is not
correctly handled by tm_is_too_large().

This change fixes tm_is_too_large() to set max_time to the correct maximum date
representable by a signed 32-bit time_t.

Closes: #1124541
Gbp-Pq: Name Correctly_handle_signed_32-bit_time_t_types.patch

11 days ago[PATCH] Work around test failure on big-endian architectures
Noah Meyerhans [Tue, 25 Nov 2025 21:38:42 +0000 (16:38 -0500)]
[PATCH] Work around test failure on big-endian architectures

Because the endianness of the target system results in data being
layed out differently in memory, the manually constructed test input
doesn't result in the expected failure modes, which is interpreted as
a test failure.

This is not a permanent fix.  See
https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/FZBVU55TK5332SMZSSDNWIVJCWGUAJQS/

Gbp-Pq: Name work-around-test-failure-on-big-endian-architectures.patch

11 days ago[PATCH] auth: ldap - Fix crash if users are iterated, but userdb_ldap_iterate_fields...
Timo Sirainen [Thu, 6 Nov 2025 12:52:37 +0000 (14:52 +0200)]
[PATCH] auth: ldap - Fix crash if users are iterated, but userdb_ldap_iterate_fields is not set

From 576a2f52bff4c13971d9e6d1172857a4f18ddd14 Mon Sep 17 00:00:00 2001
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121000

Gbp-Pq: Name bug1121000_dovecot-ldap_Crash_if_iterate_filter_is_set_but_iterate_fields_is_not_set.patch

11 days agofix 32-bit compile failure
Dovecot Maintainers [Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)]
fix 32-bit compile failure

Origin: https://github.com/dovecot/pigeonhole/commit/82e3d905d68723f6477619ebb0a642ffe7f126bc.patch

Origin: https://github.com/dovecot/pigeonhole/commit/82e3d905d68723f6477619ebb0a642ffe7f126bc.patch
Gbp-Pq: Name fix-32-bit-compile-error.patch

11 days agoFix groff errors in upstream manpages
Noah Meyerhans [Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)]
Fix groff errors in upstream manpages

Forwarded: no
Last-Update: 2025-05-02

Last-Update: 2025-05-02
Gbp-Pq: Name fix-man-errors.patch

11 days agofit-32-bit-test-integers
Dovecot Maintainers [Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)]
fit-32-bit-test-integers

===================================================================

Gbp-Pq: Name fit-32-bit-test-integers.patch

11 days agoUse _FORTIFY_SOURCE level 3
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3

Forwarded: not-needed

Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch

11 days agoDon't try to build doc/rfc subdir components
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name skip-rfc-subdir.patch

11 days agodovecot (1:2.4.2+dfsg1-4) unstable; urgency=medium
Noah Meyerhans [Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)]
dovecot (1:2.4.2+dfsg1-4) unstable; urgency=medium

  * [e8f1499] Drop stale build-dependency on libdb-dev (Closes: #1119173)
  * [86b8fb2] lib: Preserve errno in our malloc() and free() wrappers
    (Closes: #1128400)
  * [99e1cd6] backport upstream fix for crash in trash plugin (Closes: #1127029)

[dgit import unpatched dovecot 1:2.4.2+dfsg1-4]

11 days agoImport dovecot_2.4.2+dfsg1-4.debian.tar.xz
Noah Meyerhans [Thu, 5 Mar 2026 01:08:14 +0000 (20:08 -0500)]
Import dovecot_2.4.2+dfsg1-4.debian.tar.xz

[dgit import tarball dovecot 1:2.4.2+dfsg1-4 dovecot_2.4.2+dfsg1-4.debian.tar.xz]

4 months agoImport dovecot_2.4.2+dfsg1.orig.tar.gz
Noah Meyerhans [Thu, 13 Nov 2025 13:22:28 +0000 (08:22 -0500)]
Import dovecot_2.4.2+dfsg1.orig.tar.gz

[dgit import orig dovecot_2.4.2+dfsg1.orig.tar.gz]

4 months agoImport dovecot_2.4.2+dfsg1.orig-pigeonhole.tar.gz
Noah Meyerhans [Thu, 13 Nov 2025 13:22:28 +0000 (08:22 -0500)]
Import dovecot_2.4.2+dfsg1.orig-pigeonhole.tar.gz

[dgit import orig dovecot_2.4.2+dfsg1.orig-pigeonhole.tar.gz]